const DOMAIN = "https://harmonygame.icebartech.com/api/html5/";

module.exports = {
  ACTIVITY: {
    FINDACTIVITYPAGE: DOMAIN + "activity/findActivityByPage", //查找活动,
    FINDACTVITYBYID: DOMAIN + "activity/findActivityById", //根据id查找活动
    LOGIN: DOMAIN + "weiXinLogin"
  },
  ACCOUNT: {
    JSQUERY: DOMAIN + "indexJsRequire",
    WEIXINJSDK: DOMAIN + "indexJsRequire"
  },
  GIFT: {
    FINDALLGIFT: DOMAIN + "gift/findAllGift", //查找奖品
    EXHANGEGIFT: DOMAIN + "gift/exchangeGift" //用户抽奖
  },
  GOODS: {
    FINDGOODSPAGE: DOMAIN + "goods/findGoodsByPage", // 查找奖品
    EXCHANGEGOOD: DOMAIN + "goods/exchangeGoods" //兑换奖品
  },
  PLATFORM: {
    SAVEWEIXINUSERCORE: DOMAIN + "platform/saveWeixinUserCore", //保存个人信息
    SAVEADVICE: DOMAIN + "platform/saveAdvice", //H5保存建议
    GETABOUTUS: DOMAIN + "platform/getAboutUs", // 获取关于我们
    GETPOINTRULE: DOMAIN + "platform/getPointsRule", // 获取积分规则
    FINDUSERINFO: DOMAIN + "platform/findWeiXinUserById",
    GETADVERTBANNER: DOMAIN + "platform/getAdvertiseBanner", //获取广告海报
    FINDPOINTDETAIL: DOMAIN + "platform/findMyPointDetailByPage" //吉分流水
  },
  RANK: {
    GETRANKING: DOMAIN + "ranking/getRankingList" //全部排名
  },
  USER: {
    GETMYALLGIFT: DOMAIN + "user/getAllMyGiftAndGoods", //获取我的奖品
    BINDUSER: DOMAIN + "user/bindingGlocalmeUser", //绑定吉客猫账户
    GETUSERDETAIL: DOMAIN + "user/getWeixinUserDetail", //获取我的信息
    SIGNIN: DOMAIN + "user/signIn", //签到
    GETQRCODE: DOMAIN + "user/getQrcodeByShare" //获取二维码
  },
  COSUME: {
    GETCOSUMEPAGE: DOMAIN + "cosume/getCosumeDetailByPage", //返回消费记录
    EXCHANGECOSUME: DOMAIN + "cosume/exchangePointsByCosumeDetail" //兑换吉分
  }
};
